<template>
	<el-descriptions :column="2" border>
		<el-descriptions-item label="统一社会信用代码">{{ message?.base?.socialCode || '' }}</el-descriptions-item>
		<el-descriptions-item label="设计单位名称">{{ message?.base?.designUnit || '' }}</el-descriptions-item>
	</el-descriptions>
</template>

<script lang="ts" setup>
import { toRefs, defineProps } from 'vue';

const props = defineProps({
	message: Object,
});

const { message } = toRefs(props);
</script>

<style lang="scss" scoped>
.unit {
	display: flex;
	flex-wrap: wrap;

	.item_box {
		width: 30%;
		margin: 5px 0px;

		.item_name {
			color: #999999;
		}
	}
}
:deep(.el-descriptions__label) {
	width: 15% !important;
}
</style>
